package cn.sunlight.college.serviceEdu.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName OneSubject
 * @Description 一级分类
 * @Author liugang
 * @Date 2021/6/15 ~ 8:22 下午
 * @Version V1.0
 */
@Data
public class OneSubject {

    private String id;

    private String title;

    //一个一级有多个二级分类
    private List<TwoSubject> children=new ArrayList<>();

}
